<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2015/4/22 0022
  Time: 上午 11:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<html>
<head>
    <title>登录成功</title>
    <script type="application/javascript" src="/jquery/jquery-2.1.3.js"></script>
</head>
<body STYLE="background-color: black;color: coral;font-size: larger">
<div id="jqhead">HI ${sessionScope.responseInfo.message} 欢迎来到CSESTEEL CRM</div>
</body>
</html>
<script type="application/javascript">
    $(function(){
        $.ajax({
            type:"Post",
            url:"/crm/getPriviledgeByMenu.do",
            data:{"priviledgeId":2},
            dataType: 'json',
            success:function(data){
//                $.each(data,function(j,info) {
//                    alert(info)
//                })
                alert(data.toString())
            },
            error:function(error){
                alert("")
            }
        })
    })
</script>